home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / remoting / debug / ConnectionMixin.as next >
Encoding:
Text File  |  2011-01-06  |  10.2 KB  |  267 lines

  1. var ┬º\x01┬º = 363;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 363)
  5.    {
  6.       set("\x01",eval("\x01") - 10);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") != 353)
  12.       {
  13.          break;
  14.       }
  15.       set("\x01",eval("\x01") - 296);
  16.       if(┬º┬ºpop())
  17.       {
  18.          set("\x01",eval("\x01") + 345);
  19.       }
  20.    }
  21. }
  22. if(eval("\x01") == 57)
  23. {
  24.    set("\x01",eval("\x01") + 345);
  25.    toggleHighQuality();
  26.    ┬º┬ºpop()[┬º┬ºpop() eq ┬º┬ºpop()] = function()
  27.    {
  28.       var _loc1_ = eval(┬º┬ºconstant(36));
  29.       var _loc2_ = eval(┬º┬ºconstant(68));
  30.       _loc1_[┬º┬ºconstant(23)]();
  31.       var _loc3_ = _loc2_[0][┬º┬ºconstant(62)](0,4);
  32.       if(_loc3_ == ┬º┬ºconstant(60) || _loc3_[┬º┬ºconstant(62)](0,4) == ┬º┬ºconstant(61))
  33.       {
  34.          if(_loc2_[0][┬º┬ºconstant(69)](4) == ┬º┬ºconstant(70))
  35.          {
  36.             _loc1_[┬º┬ºconstant(46)] = _loc3_;
  37.          }
  38.          else
  39.          {
  40.             _loc1_[┬º┬ºconstant(46)] = _loc2_[0][┬º┬ºconstant(62)](0,5);
  41.          }
  42.       }
  43.       else
  44.       {
  45.          _loc1_[┬º┬ºconstant(46)] = ┬º┬ºconstant(60);
  46.       }
  47.       _loc1_[┬º┬ºconstant(26)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(71)][┬º┬ºconstant(72)](_loc2_));
  48.       if(_loc1_[┬º┬ºconstant(30)]())
  49.       {
  50.          _loc1_[┬º┬ºconstant(73)] = _loc2_[0];
  51.          _loc1_[┬º┬ºconstant(29)]()[┬º┬ºconstant(76)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(74)][┬º┬ºconstant(75)](_loc2_[0]));
  52.          var ┬º┬ºconstant(77) = _loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(78)](_loc1_,_loc2_);
  53.          _loc1_[┬º┬ºconstant(13)](┬º┬ºconstant(80),new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(79)](_loc2_[0],_loc1_));
  54.          return eval(┬º┬ºconstant(77));
  55.       }
  56.       return ┬º┬ºconstant(81)(_loc1_[┬º┬ºconstant(11)][┬º┬ºconstant(78)](_loc1_,_loc2_));
  57.    };
  58.    _loc2_[┬º┬ºconstant(20)] = function()
  59.    {
  60.       var _loc1_ = eval(┬º┬ºconstant(36));
  61.       var _loc2_ = eval(┬º┬ºconstant(68));
  62.       _loc1_[┬º┬ºconstant(23)]();
  63.       _loc1_[┬º┬ºconstant(26)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(71)][┬º┬ºconstant(82)](_loc2_));
  64.       _loc1_[┬º┬ºconstant(27)]();
  65.       if(_loc1_[┬º┬ºconstant(40)][┬º┬ºconstant(63)])
  66.       {
  67.          _loc2_[1] = new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(83)](_loc1_,_loc2_[1]);
  68.          return ┬º┬ºconstant(81)(_loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(78)](_loc1_,_loc2_));
  69.       }
  70.       return ┬º┬ºconstant(81)(_loc1_[┬º┬ºconstant(13)][┬º┬ºconstant(78)](_loc1_,_loc2_));
  71.    };
  72.    _loc2_[┬º┬ºconstant(21)] = function()
  73.    {
  74.       var _loc1_ = eval(┬º┬ºconstant(36));
  75.       _loc1_[┬º┬ºconstant(23)]();
  76.       _loc1_[┬º┬ºconstant(26)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(71)][┬º┬ºconstant(84)]());
  77.       if(_loc1_[┬º┬ºconstant(30)]())
  78.       {
  79.          _loc1_[┬º┬ºconstant(29)]()[┬º┬ºconstant(76)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(74)][┬º┬ºconstant(86)](_loc1_[┬º┬ºconstant(73)],_loc1_[┬º┬ºconstant(85)]));
  80.       }
  81.       var _loc2_ = _loc1_[┬º┬ºconstant(15)]();
  82.       _loc1_[┬º┬ºconstant(29)]()[┬º┬ºconstant(87)](_loc1_);
  83.       return _loc2_;
  84.    };
  85.    _loc2_[┬º┬ºconstant(22)] = function()
  86.    {
  87.       var _loc1_ = eval(┬º┬ºconstant(36));
  88.       _loc1_[┬º┬ºconstant(23)]();
  89.       _loc1_[┬º┬ºconstant(26)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(71)][┬º┬ºconstant(88)](eval(┬º┬ºconstant(68))));
  90.       return ┬º┬ºconstant(81)(_loc1_[┬º┬ºconstant(17)][┬º┬ºconstant(78)](_loc1_,eval(┬º┬ºconstant(68))));
  91.    };
  92.    _loc2_[┬º┬ºconstant(32)] = function(id)
  93.    {
  94.       eval(┬º┬ºconstant(36))[┬º┬ºconstant(23)]();
  95.       eval(┬º┬ºconstant(36))[┬º┬ºconstant(48)] = eval(┬º┬ºconstant(89));
  96.    };
  97.    _loc2_[┬º┬ºconstant(33)] = function()
  98.    {
  99.       eval(┬º┬ºconstant(36))[┬º┬ºconstant(23)]();
  100.       return eval(┬º┬ºconstant(36))[┬º┬ºconstant(48)];
  101.    };
  102.    _loc2_[┬º┬ºconstant(35)] = function(traceobj)
  103.    {
  104.       var _loc1_ = eval(┬º┬ºconstant(36));
  105.       _loc1_[┬º┬ºconstant(23)]();
  106.       if(_loc1_[┬º┬ºconstant(40)][┬º┬ºconstant(58)] && _loc1_[┬º┬ºconstant(40)][┬º┬ºconstant(59)][┬º┬ºconstant(58)] && _loc1_[┬º┬ºconstant(40)][┬º┬ºconstant(59)][┬º┬ºconstant(35)])
  107.       {
  108.          _loc1_[┬º┬ºconstant(24)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(71)][┬º┬ºconstant(91)](eval(┬º┬ºconstant(90))));
  109.       }
  110.    };
  111.    _loc2_[┬º┬ºconstant(34)] = function()
  112.    {
  113.       eval(┬º┬ºconstant(36))[┬º┬ºconstant(23)]();
  114.       return eval(┬º┬ºconstant(36))[┬º┬ºconstant(40)];
  115.    };
  116.    _loc2_[┬º┬ºconstant(29)] = function()
  117.    {
  118.       return eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(92)][┬º┬ºconstant(29)]();
  119.    };
  120.    _loc1_[┬º┬ºconstant(37)] = false;
  121.    addr884:
  122.    ┬º┬ºconstant(93)(eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(5)][┬º┬ºconstant(7)],null,1);
  123.    addr502:
  124. }
  125. else if(eval("\x01") == 402)
  126. {
  127.    set("\x01",eval("\x01") + 390);
  128.    if(!_global.mx)
  129.    {
  130.       _global.mx = new Object();
  131.    }
  132.    ┬º┬ºpop();
  133.    if(!_global.mx.remoting)
  134.    {
  135.       _global.mx.remoting = new Object();
  136.    }
  137.    ┬º┬ºpop();
  138.    if(!_global.mx.remoting.debug)
  139.    {
  140.       _global.mx.remoting.debug = new Object();
  141.    }
  142.    ┬º┬ºpop();
  143.    if(!_global.mx.remoting.debug.ConnectionMixin)
  144.    {
  145.       mx.remoting.debug.ConnectionMixin = function()
  146.       {
  147.          super();
  148.       }.initialize = function()
  149.       {
  150.          var _loc1_ = mx.remoting.Connection.prototype;
  151.          var _loc2_ = mx.remoting.debug.ConnectionMixin.prototype;
  152.          if(!_loc1_.netDebugProxyFunctions)
  153.          {
  154.             _loc1_.netDebugProxyFunctions = true;
  155.             _loc1_.realConnect = _loc1_.connect;
  156.             _loc1_.realCall = _loc1_.call;
  157.             _loc1_.realClose = _loc1_.close;
  158.             _loc1_.realAddHeader = _loc1_.addHeader;
  159.             _loc1_.connect = _loc2_.netDebugProxyConnect;
  160.             _loc1_.call = _loc2_.netDebugProxyCall;
  161.             _loc1_.close = _loc2_.netDebugProxyClose;
  162.             _loc1_.addHeader = _loc2_.netDebugProxyAddHeader;
  163.             _loc1_.attachDebug = _loc2_.attachDebug;
  164.             _loc1_.sendDebugEvent = _loc2_.sendDebugEvent;
  165.             _loc1_.sendServerEvent = _loc2_.sendServerEvent;
  166.             _loc1_.sendClientEvent = _loc2_.sendClientEvent;
  167.             _loc1_.addNetDebugHeader = _loc2_.addNetDebugHeader;
  168.             _loc1_.updateConfig = _loc2_.updateConfig;
  169.             _loc1_.getNetDebug = _loc2_.getNetDebug;
  170.             _loc1_.isRealTime = _loc2_.isRealTime;
  171.             _loc1_.setupRecordSet = _loc2_.setupRecordSet;
  172.             _loc1_.setDebugId = _loc2_.setDebugId;
  173.             _loc1_.getDebugId = _loc2_.getDebugId;
  174.             _loc1_.getDebugConfig = _loc2_.getDebugConfig;
  175.             _loc1_.trace = _loc2_.trace;
  176.             return true;
  177.          }
  178.          return false;
  179.       };
  180.       mx.remoting.debug.ConnectionMixin.prototype = new Object().attachDebug = function()
  181.       {
  182.          var _loc1_ = this;
  183.          if(!mx.remoting.debug.ConnectionMixin._attached)
  184.          {
  185.             mx.remoting.debug.ConnectionMixin._attached = true;
  186.             _loc1_._headerAdded = false;
  187.             _loc1_._configured = false;
  188.             _loc1_._config = new mx.remoting.debug.NetDebugConfig();
  189.             mx.utils.ObjectCopy.copyProperties(_loc1_._config,_loc1_.getNetDebug().getConfig());
  190.             _loc1_._protocol = "none";
  191.             _loc1_._id = String(_loc1_.getNetDebug().addNetConnection(_loc1_));
  192.          }
  193.       };
  194.       mx.remoting.debug.ConnectionMixin.prototype = new Object().sendDebugEvent = function(eventobj)
  195.       {
  196.          var _loc1_ = this;
  197.          var _loc2_ = eventobj;
  198.          _loc2_.protocol = _loc1_._protocol;
  199.          _loc2_.debugId = _loc1_._id;
  200.          return _loc1_.getNetDebug().onEvent(_loc2_);
  201.       };
  202.       mx.remoting.debug.ConnectionMixin.prototype = new Object().sendServerEvent = function(eventobj)
  203.       {
  204.          eventobj.movieUrl = unescape(_root._url);
  205.          if(this.sendDebugEvent(eventobj))
  206.          {
  207.          }
  208.       };
  209.       mx.remoting.debug.ConnectionMixin.prototype = new Object().sendClientEvent = function(eventobj)
  210.       {
  211.          var _loc1_ = this;
  212.          if(_loc1_._config.m_debug && _loc1_._config.client.m_debug)
  213.          {
  214.             if(_loc1_._config.client.http && _loc1_._protocol == "http" || _loc1_._config.client.rtmp && _loc1_._protocol.substr(0,4) == "rtmp")
  215.             {
  216.                if(_loc1_.sendDebugEvent(eventobj))
  217.                {
  218.                }
  219.             }
  220.          }
  221.       };
  222.       mx.remoting.debug.ConnectionMixin.prototype = new Object().addNetDebugHeader = function()
  223.       {
  224.          var _loc1_ = this;
  225.          if(!_loc1_._headerAdded)
  226.          {
  227.             _loc1_._headerAdded = true;
  228.             if(_loc1_._config.m_debug && _loc1_._config.app_server.m_debug && _loc1_._protocol == "http")
  229.             {
  230.                _loc1_.realAddHeader("amf_server_debug",true,_loc1_._config.app_server);
  231.             }
  232.             else
  233.             {
  234.                _loc1_.realAddHeader("amf_server_debug",true,undefined);
  235.             }
  236.          }
  237.       };
  238.       mx.remoting.debug.ConnectionMixin.prototype = new Object().updateConfig = function(config)
  239.       {
  240.          var _loc1_ = this;
  241.          var _loc2_ = config;
  242.          _loc1_.attachDebug();
  243.          if(_loc2_ == null && !_loc1_._configured)
  244.          {
  245.             _loc1_._configured = true;
  246.             _loc2_ = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig();
  247.          }
  248.          mx.utils.ObjectCopy.copyProperties(_loc1_._config,_loc2_);
  249.          _loc1_._headerAdded = false;
  250.       };
  251.       mx.remoting.debug.ConnectionMixin.prototype = new Object().isRealTime = function()
  252.       {
  253.          return this._protocol.substr(0,4) == "rtmp";
  254.       };
  255.       mx.remoting.debug.ConnectionMixin.prototype = new Object().setupRecordSet = function()
  256.       {
  257.          var _loc1_ = this;
  258.          _loc1_.attachDebug();
  259.          _loc1_._config.client.http = _loc1_._config.client.recordset;
  260.       };
  261.       ┬º┬ºgoto(addr502);
  262.       ┬º┬ºpush(mx.remoting.debug.ConnectionMixin.prototype = new Object());
  263.       ┬º┬ºpush("netDebugProxyConnect");
  264.    }
  265.    ┬º┬ºgoto(addr884);
  266. }
  267.